/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.ActorCalendarFacade;
import org.ipti.br.tag.entity.ActorCalendar;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author israel
 */
@Stateless
public class ActorCalendarBO implements Serializable {

    @Inject
    private ActorCalendarFacade actorCalendarDAO;

    public ActorCalendarFacade getActorCalendarDAO() {
        return actorCalendarDAO;
    }

    public void create(ActorCalendar actorCalendar) {
        getActorCalendarDAO().create(actorCalendar);
    }

    public void edit(ActorCalendar actorCalendar) {
        getActorCalendarDAO().edit(actorCalendar);
    }

    public void remove(ActorCalendar actorCalendar) {
        getActorCalendarDAO().remove(actorCalendar);
    }

    public ActorCalendar find(Object id) {
        return getActorCalendarDAO().find(id);
    }

    public List<ActorCalendar> findAll() {
        return getActorCalendarDAO().findAll();
    }

    public void editForSynchronization(ActorCalendar actorCalendar) {
        getActorCalendarDAO().editForSynchronization(actorCalendar);
    }
}
